<?php
/*
 * 控制器几类
 */

class commonAction{

	protected $CACHE;
	protected $userData;
	protected $options_cache;

	function __construct(){
		if(ISLOGIN === false){
            idooDirect(APP_URL.'index/login');
            exit('{"result":911,"msg":"请先登录！"');
        }
		global $userData;
		$this -> userData = $userData;
		global $CACHE;
		$this -> CACHE = $CACHE;
		$this -> options_cache = $this -> CACHE -> readCache('options');
	}

}